package com.boot.app.base.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.boot.app.base.dto.UserDTO;
import com.boot.app.base.domain.BaseUser;
import com.boot.app.base.vo.UserInfo;
import com.boot.app.base.vo.UserVO;

public interface IBaseUserService extends IService<BaseUser> {

    BaseUser getByUsername(String username);

    UserVO getUserVOById(long id);

    Page<UserVO> pageUserVO(Page<UserVO> page, UserDTO userDto);

    BaseUser getUserByUsername(String username);

    UserInfo fetchUserInfo();

    void removeUserById(long id);

}
